package cn.donzell.model;

import top.ibase4j.core.base.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 蚂蚁盒子
 * </p>
 *
 * @author Donzell
 * @since 2019-02-13
 */
@ApiModel("蚂蚁盒子")
@SuppressWarnings("serial")
public class AntBox extends BaseModel {

    @ApiModelProperty(value = "盒子编码")
	private String code;
    @ApiModelProperty(value = "网络状态(0:未知,2:离线,1:在线)")
	private Integer netStatus;
    @ApiModelProperty(value = "电源状态(0:未知,2:断电,1:通电)")
	private Integer eleStatus;
    @ApiModelProperty(value = "打开状态(0:未知,2:关门,1:开门)")
	private Integer isOpen;
    @ApiModelProperty(value = "锁定状态(0:未锁定,1:锁定)")
	private Integer isForbidden;
    @ApiModelProperty(value = "地址")
	private String address;


	public String getCode() {
		return code;
	}

	public AntBox setCode(String code) {
		this.code = code;
		return this;
	}

	public Integer getNetStatus() {
		return netStatus;
	}

	public AntBox setNetStatus(Integer netStatus) {
		this.netStatus = netStatus;
		return this;
	}

	public Integer getEleStatus() {
		return eleStatus;
	}

	public AntBox setEleStatus(Integer eleStatus) {
		this.eleStatus = eleStatus;
		return this;
	}

	public Integer getIsOpen() {
		return isOpen;
	}

	public AntBox setIsOpen(Integer isOpen) {
		this.isOpen = isOpen;
		return this;
	}

	public Integer getIsForbidden() {
		return isForbidden;
	}

	public AntBox setIsForbidden(Integer isForbidden) {
		this.isForbidden = isForbidden;
		return this;
	}

	public String getAddress() {
		return address;
	}

	public AntBox setAddress(String address) {
		this.address = address;
		return this;
	}

}